<include file="public@header" />
</head>
<body>
<div class="wrap js-check-wrap">
	<ul class="nav nav-tabs">
		<li class="active"><a href="{:url('bulletin/index')}">公告列表</a></li>
		<li><a href="{:url('bulletin/add')}">公告添加</a></li>
	</ul>
	<form class="well form-inline margin-top-20" method="post" action="{:url('bulletin/index')}">
		公告标题:
		<input type="text" class="form-control" name="b_title" value="{$b_title}" placeholder="请输入公告标题">
		<input type="submit" class="btn btn-primary" value="搜索" />
		<a class="btn btn-danger" href="{:url('bulletin/index')}">清空</a>
	</form>
	<table class="table table-hover table-bordered">
		<thead>
		<tr>
			<th width="50">ID</th>
			<th>标题</th>
			<th>内容</th>
			<th>发布时间</th>
			<th>截至时间</th>
			<th width="50">操作</th>
		</tr>
		</thead>
		<tbody>
		<foreach name="bulletin" item="vo">
			<tr>
				<td>{$vo.id}</td>
				<td>{$vo.b_title}</td>
				<td>{$vo.b_description}</td>
				<td>{$vo.b_createtime}</td>
				<td>{$vo.b_lasttime}</td>
				<td>
					<a href='{:url("bulletin/edit",array("id"=>$vo["id"]))}'>编辑</a>
				</td>
			</tr>
		</foreach>
		</tbody>
	</table>
	<div class="pagination">{$page}</div>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>